package model;

import com.sun.org.apache.regexp.internal.recompile;

public class Rectangle extends Polygon {
	public Rectangle() {
		super(4);
	}
	
	@Override
	public double getA() {
		double a = 0;
		
		double arr[] = super.arrSide;
		
		a = arr[0] * arr[2];
		
		return a;
	}
}
